const mongoose = require('./../db')
const Schema = mongoose.Schema

const admin = new Schema({
    adminid: { type: String },
    adminname: { type: String },
    password: { type: String },
    role: { type: Number } // 2 超级管理员 1 普通管理员
})

module.exports = mongoose.model('Admin', admin)